@echo off

cd D:\\data\\proj\\DemoLang\\R
D:

set thedate=%1

@echo on
Rscript gupiao.R %thedate%

pause